package com.xy.lang.domain.treeing;

public class TreeItemWrapper<S> {

    private TreeItem treeItem;
    private S source;

    public TreeItemWrapper() {

    }

    public TreeItemWrapper(S source) {
        this.source = source;
    }

    public TreeItemWrapper(TreeItem treeItem, S source) {
        this.treeItem = treeItem;
        this.source = source;
    }

    public TreeItem getTreeItem() {
        return treeItem;
    }

    public void setTreeItem(TreeItem treeItem) {
        this.treeItem = treeItem;
    }

    public S getSource() {
        return source;
    }

    public void setSource(S source) {
        this.source = source;
    }

}
